package concrete;

public abstract class Property extends Tile {


	//VARIABLES
	private boolean monopoly;
	private boolean mortgage;
	private Player propertyOwner;
	private int propertyPrice;
	private int mortgageValue;
	private int rent;
	private String imageDeed;


	//CONSTRUCTOR
	public Property (String tileName, int propertyPrice, int mortgageValue, int rent)
	{
		//explicit call to superclass Tile constructor
		super(tileName);
		this.monopoly = false;
		this.mortgage = false;
		this.propertyOwner = null;
		this.propertyPrice = propertyPrice;
		this.mortgageValue = mortgageValue;
		this.rent = rent;
	}
	public Property (String tileName, String imageDeed, int propertyPrice, int mortgageValue, int rent)
	{
		//explicit call to superclass Tile constructor
		super(tileName);
		this.imageDeed = imageDeed;
		this.monopoly = false;
		this.mortgage = false;
		this.propertyOwner = null;
		this.propertyPrice = propertyPrice;
		this.mortgageValue = mortgageValue;
		this.rent = rent;
	}


	//GETTERS
	public String getImageDeed() {
		return this.imageDeed;
	}
	public boolean getMonopoly() {
		return this.monopoly;
	}
	public boolean getMortgage() {
		return this.mortgage;
	}
	public Player getPropertyOwner() {
		return this.propertyOwner;
	}
	public int getPropertyPrice() {
		return this.propertyPrice;
	}
	public int getMortgageValue() {
		return this.mortgageValue;
	}
	public int getRent() {
		return this.rent;
	}


	//SETTERS
	public void setImageDeed(String imageDeed) {
		this.imageDeed = imageDeed;
	}
	public void setMonopoly(boolean monopoly) {
		this.monopoly = monopoly;
	}
	public void setMortgage(boolean mortgage) {
		this.mortgage = mortgage;
	}
	public void setPropertyOwner(Player propertyOwner) {
		this.propertyOwner = propertyOwner;
	}
	public void setPropertyPrice(int propertyPrice) {
		this.propertyPrice = propertyPrice;
	}
	public void setMortgageValue(int mortgageValue) {
		this.mortgageValue = mortgageValue;
	}
	public void setRent(int rent) {
		this.rent = rent;
	}
}
